Optimal. Leaf size=79 \[ \frac{a^2 x \sqrt{a-b x^n} \sqrt{a+b x^n} \, _2F_1\left (-\frac{3}{2},\frac{1}{2 n};\frac{1}{2} \left (2+\frac{1}{n}\right );\frac{b^2 x^{2 n}}{a^2}\right )}{\sqrt{1-\frac{b^2 x^{2 n}}{a^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0331956, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {253, 246, 245} \[ \frac{a^2 x \sqrt{a-b x^n} \sqrt{a+b x^n} \, _2F_1\left (-\frac{3}{2},\frac{1}{2 n};\frac{1}{2} \left (2+\frac{1}{n}\right );\frac{b^2 x^{2 n}}{a^2}\right )}{\sqrt{1-\frac{b^2 x^{2 n}}{a^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 253
Rule 246
Rule 245
Rubi steps
\begin{align*} \int \left (a-b x^n\right )^{3/2} \left (a+b x^n\right )^{3/2} \, dx &=\frac{\left (\sqrt{a-b x^n} \sqrt{a+b x^n}\right ) \int \left (a^2-b^2 x^{2 n}\right )^{3/2} \, dx}{\sqrt{a^2-b^2 x^{2 n}}}\\ &=\frac{\left (a^2 \sqrt{a-b x^n} \sqrt{a+b x^n}\right ) \int \left (1-\frac{b^2 x^{2 n}}{a^2}\right )^{3/2} \, dx}{\sqrt{1-\frac{b^2 x^{2 n}}{a^2}}}\\ &=\frac{a^2 x \sqrt{a-b x^n} \sqrt{a+b x^n} \, _2F_1\left (-\frac{3}{2},\frac{1}{2 n};\frac{1}{2} \left (2+\frac{1}{n}\right );\frac{b^2 x^{2 n}}{a^2}\right )}{\sqrt{1-\frac{b^2 x^{2 n}}{a^2}}}\\ \end{align*}
Mathematica [A] time = 0.0336167, size = 79, normalized size = 1. \[ \frac{a^2 x \sqrt{a-b x^n} \sqrt{a+b x^n} \, _2F_1\left (-\frac{3}{2},\frac{1}{2 n};1+\frac{1}{2 n};\frac{b^2 x^{2 n}}{a^2}\right )}{\sqrt{1-\frac{b^2 x^{2 n}}{a^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.641, size = 0, normalized size = 0. \begin{align*} \int \left ( a-b{x}^{n} \right ) ^{{\frac{3}{2}}} \left ( a+b{x}^{n} \right ) ^{{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{\frac{3}{2}}{\left (-b x^{n} + a\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{\frac{3}{2}}{\left (-b x^{n} + a\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]